package com.explment.lens.controller.user;

import com.explment.lens.entity.SysUserPasswordRecordEntity;
import com.explment.lens.service.SysUserPasswordRecordService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 用户历史密码记录 controller
 */
@RestController
@RequestMapping("/sysUserPasswordRecordEntity")
public class SysUserPasswordRecordController {
    @Autowired
    private SysUserPasswordRecordService sysUserPasswordRecordEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysUserPasswordRecordEntityService.getById(id));
    }
}